import 'package:flutterproject/generated/json/base/json_convert_content.dart';
import 'package:flutterproject/page/main/children/share/data/share_bean.dart';

ShareBean $ShareBeanFromJson(Map<String, dynamic> json) {
	final ShareBean shareBean = ShareBean();
	final String? shareCode = jsonConvert.convert<String>(json['shareCode']);
	if (shareCode != null) {
		shareBean.shareCode = shareCode;
	}
	final String? shareUrl = jsonConvert.convert<String>(json['shareUrl']);
	if (shareUrl != null) {
		shareBean.shareUrl = shareUrl;
	}
	return shareBean;
}

Map<String, dynamic> $ShareBeanToJson(ShareBean entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['shareCode'] = entity.shareCode;
	data['shareUrl'] = entity.shareUrl;
	return data;
}